package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目附件对象 project_file
 *
 * @author ruoyi
 * @date 2021-01-06
 */
public class ProjectFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long pfilId;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String fileUrl;

    /** 初始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "初始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pfilTime;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 文件大小 */
    @Excel(name = "文件大小")
    private String fileSize;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upDate;

    /** 备注 */
    @Excel(name = "备注")
    private String pfilRemark;

    /** 项目外键 */
    @Excel(name = "项目外键")
    private Long proId;

    /** 修改人 */
    @Excel(name = "修改人")
    private Long userId;

    public void setPfilId(Long pfilId)
    {
        this.pfilId = pfilId;
    }

    public Long getPfilId()
    {
        return pfilId;
    }
    public void setFileUrl(String fileUrl)
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl()
    {
        return fileUrl;
    }
    public void setPfilTime(Date pfilTime)
    {
        this.pfilTime = pfilTime;
    }

    public Date getPfilTime()
    {
        return pfilTime;
    }
    public void setFileName(String fileName)
    {
        this.fileName = fileName;
    }

    public String getFileName()
    {
        return fileName;
    }
    public void setFileSize(String fileSize)
    {
        this.fileSize = fileSize;
    }

    public String getFileSize()
    {
        return fileSize;
    }
    public void setUpDate(Date upDate)
    {
        this.upDate = upDate;
    }

    public Date getUpDate()
    {
        return upDate;
    }
    public void setPfilRemark(String pfilRemark)
    {
        this.pfilRemark = pfilRemark;
    }

    public String getPfilRemark()
    {
        return pfilRemark;
    }
    public void setProId(Long proId)
    {
        this.proId = proId;
    }

    public Long getProId()
    {
        return proId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("pfilId", getPfilId())
                .append("fileUrl", getFileUrl())
                .append("pfilTime", getPfilTime())
                .append("fileName", getFileName())
                .append("fileSize", getFileSize())
                .append("upDate", getUpDate())
                .append("pfilRemark", getPfilRemark())
                .append("proId", getProId())
                .append("userId", getUserId())
                .toString();
    }
}